<?php

return [
    // 小游戏登录
    'api/h5/user/login' => [
        'game_id'         => 'required',
        'channel'         => 'required',
        'game_channel_id' => 'required',
        'package_id'      => 'required|integer',
    ],

    // 角色注册上报
    'api/h5/role/reg'    => [
        'game_id'     => 'required',
        'channel'     => 'required',
        'user_id'     => 'required',
        'role_id'     => 'required|integer',
        'role_name'   => 'required',
        'server_id'   => 'required|integer',
        'server_name' => 'required',
    ],

    // 角色登录上报
    'api/h5/role/login'    => [
        'game_id'     => 'required',
        'channel'     => 'required',
        'user_id'     => 'required',
        'role_id'     => 'required|integer',
        'role_name'   => 'required',
        'server_id'   => 'required|integer',
        'server_name' => 'required',
        'role_level'  => 'required|integer',
    ],

    // 角色登录上报
    'api/yfsdk/role/xuni_pay'    => [
        'user_id'       => 'required',
        'game_trade_no' => 'required',
        'amount'        => 'required',
        'goods_id'      => 'required',
        'goods_name'    => 'required',
        'server_id'     => 'required',
        'server_name'   => 'required',
        'role_id'       => 'required',
        'role_name'     => 'required',
        'role_level'    => 'required',
    ],
];
